package Classe.proxy;

import java.util.Observer;

import Classe.Commis;

public class CommisCourant {
	@SuppressWarnings("unused")
	private Commis m_commis;
	private void setCommis(Commis pCommis)
	{
		m_commis = pCommis;
	}
	public CommisCourant(){};
	public void Authentification(String pUserName, String pPassword,Observer o)
	{	
		Commis commis= new Commis(pUserName);
		commis.addObserver(o);
		setCommis(commis);
		commis.estMotDePasseValide();
	}
}
